
import React, {Component} from 'react'

import {HashRouter,Route} from 'react-keeper'

import App from 'src/pages/App'
import HomeContainer from 'src/pages/homeContainer/home'
import MovieContainer from 'src/pages/movieContainer/movie'

export default class Routes extends Component{
  render() {
    return (
        <HashRouter>
          <Route path="/" component={App}>
            <Route cache index path="/index" component={HomeContainer}/>
            <Route cache path="/movie" component={MovieContainer}/>
          </Route>
        </HashRouter>
    );
  }
}
